package gov.ccswj.modules.bdbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.bdbusiness.dao.BBProjectDao;
import gov.ccswj.modules.bdbusiness.entity.BBProjectEntity;
import gov.ccswj.modules.bdbusiness.service.BBProjectService;



@Service("bBProjectService")
public class BBProjectServiceImpl implements BBProjectService {
	@Autowired
	private BBProjectDao bBProjectDao;
	
	@Override
	public BBProjectEntity queryObject(Integer id){
		return bBProjectDao.queryObject(id);
	}
	
	@Override
	public List<BBProjectEntity> queryList(Map<String, Object> map){
		return bBProjectDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return bBProjectDao.queryTotal(map);
	}
	
	@Override
	public void save(BBProjectEntity bBProject){
		bBProjectDao.save(bBProject);
	}
	
	@Override
	public void update(BBProjectEntity bBProject){
		bBProjectDao.update(bBProject);
	}
	
	@Override
	public void delete(Integer id){
		bBProjectDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		bBProjectDao.deleteBatch(ids);
	}
	
}
